people = 0
player=eval(input('请输入玩家的人数'))
for i in range(1, player+1):
    if i % 7 == 0 or i % 10 == 7:
        continue
    people += 1
    print(i)
print(f'报数的人有多少个：', people)
